home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 December / 2004-12 CHIP.iso / Internet / NVU 0.50 for Windows / nvu-0.50-win32-installer-full.exe / {app} / chrome / comm.jar / content / editor / pref-connection.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-02-10  |  5.9 KB  |  123 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://editor/locale/pref-connection.dtd" >
  6. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.         onload="window.opener.top.initPanel('chrome://editor/content/pref-connection.xul', window);"
  8.         buttons="accept,cancel" ondialogaccept="return onConnectionsDialogOK(event);"
  9.         title="&lHeader;">
  10.         
  11.   <stringbundle id="bundle_prefutilities"
  12.                 src="chrome://communicator/locale/pref/prefutilities.properties"/>
  13.   <script type="application/x-javascript" src="chrome://editor/content/pref-connection.js"/>
  14.   
  15.   <groupbox>
  16.     <caption label="&proxyTitle.label;"/>
  17.  
  18.     <radiogroup id="networkProxyType" prefstring="network.proxy.type">
  19.         <radio value="0" label="&directTypeRadio.label;" accesskey="&directTypeRadio.accesskey;" oncommand="DoEnabling();"/>
  20.         <radio value="1" label="&manualTypeRadio.label;" accesskey="&manualTypeRadio.accesskey;" oncommand="DoEnabling();"/>
  21.       <grid class="indent" flex="1">
  22.         <columns>
  23.           <column/>
  24.           <column flex="1"/>
  25.         </columns>
  26.         
  27.         <rows>
  28.           <row align="center">
  29.             <hbox align="center" pack="end">
  30.               <label value="&http.label;" accesskey="&http.accesskey;" control="networkProxyHTTP"/>
  31.             </hbox>
  32.             <hbox align="center">
  33.               <textbox id="networkProxyHTTP" preftype="string" prefstring="network.proxy.http"
  34.                        flex="1"/>
  35.               <label value="&port.label;" accesskey="&HTTPport.accesskey;" control="networkProxyHTTP_Port"/>
  36.               <textbox id="networkProxyHTTP_Port" preftype="int" prefstring="network.proxy.http_port"
  37.                        size="5"/>
  38.             </hbox>
  39.           </row>
  40.           <row align="center">
  41.             <hbox align="center" pack="end">
  42.               <label value="&ssl.label;" accesskey="&ssl.accesskey;" control="networkProxySSL"/>
  43.             </hbox>
  44.             <hbox align="center">
  45.               <textbox id="networkProxySSL" preftype="string" prefstring="network.proxy.ssl"
  46.                        flex="1"/>
  47.               <label value="&port.label;" accesskey="&SSLport.accesskey;" control="networkProxySSL_Port"/>
  48.               <textbox id="networkProxySSL_Port" preftype="int" prefstring="network.proxy.ssl_port"
  49.                        size="5"/>
  50.             </hbox>
  51.           </row>
  52.           <row align="center">
  53.             <hbox align="center" pack="end">
  54.               <label value="&ftp.label;" accesskey="&ftp.accesskey;" control="networkProxyFTP"/>
  55.             </hbox>
  56.             <hbox align="center">
  57.               <textbox id="networkProxyFTP" preftype="string" prefstring="network.proxy.ftp"
  58.                        flex="1"/>
  59.               <label value="&port.label;" accesskey="&FTPport.accesskey;" control="networkProxyFTP_Port"/>
  60.               <textbox id="networkProxyFTP_Port" preftype="int" prefstring="network.proxy.ftp_port"
  61.                        size="5"/>
  62.             </hbox>
  63.           </row>
  64.           <row align="center">
  65.             <hbox align="center" pack="end">
  66.               <label value="&gopher.label;" accesskey="&gopher.accesskey;" control="networkProxyGopher"/>
  67.             </hbox>
  68.             <hbox align="center">
  69.               <textbox id="networkProxyGopher" preftype="string" prefstring="network.proxy.gopher"
  70.                        flex="1"/>
  71.               <!-- gopher port doesn't have an accesskey because the window needs a redesign - bbaetz -->
  72.               <label value="&port.label;" accesskey="&gopherPort.accesskey;" control="networkProxyGopher_Port"/>
  73.               <textbox id="networkProxyGopher_Port" preftype="int" prefstring="network.proxy.gopher_port"
  74.                        size="5"/>
  75.             </hbox>
  76.           </row>
  77.           <row align="center">
  78.             <hbox align="center" pack="end">
  79.               <label value="&socks.label;" accesskey="&socks.accesskey;" control="networkProxySOCKS"/>
  80.             </hbox>
  81.             <hbox align="center">
  82.               <textbox id="networkProxySOCKS" preftype="string" prefstring="network.proxy.socks"
  83.                        flex="1"/>
  84.             <label value="&port.label;" accesskey="&SOCKSport.accesskey;" control="networkProxySOCKS_Port"/>
  85.               <textbox id="networkProxySOCKS_Port" preftype="int" prefstring="network.proxy.socks_port"
  86.                        size="5"/>
  87.             </hbox>
  88.           </row>
  89.           <row>
  90.             <spacer/>
  91.             <radiogroup id="networkProxySOCKSVersion" orient="horizontal"
  92.                         prefstring="network.proxy.socks_version">
  93.                 <radio id="networkProxySOCKSVersion4" value="4" label="&socks4.label;" accesskey="&socks4.accesskey;" />
  94.                 <radio id="networkProxySOCKSVersion5" value="5" label="&socks5.label;" accesskey="&socks5.accesskey;" />
  95.             </radiogroup>
  96.           </row>
  97.  
  98.           <row align="center"> 
  99.             <hbox align="center" pack="end">
  100.               <label value="&noproxy.label;" accesskey="&noproxy.accesskey;" control="networkProxyNone"/>
  101.             </hbox>
  102.             <textbox id="networkProxyNone" preftype="string" prefstring="network.proxy.no_proxies_on"/>
  103.           </row>
  104.           <row>
  105.             <spacer/>
  106.             <label value="&noproxyExplain.label;" control="networkProxyNone"/>
  107.           </row>
  108.         </rows>
  109.       </grid>
  110.       <radio value="2" label="&autoTypeRadio.label;" accesskey="&autoTypeRadio.accesskey;" oncommand="DoEnabling();"/>
  111.       <hbox class="indent" flex="1" align="center">
  112.         <textbox id="networkProxyAutoconfigURL" flex="1" 
  113.                  preftype="string" prefstring="network.proxy.autoconfig_url"/>
  114.         <button id="autoReload" label="&reload.label;" accesskey="&reload.accesskey;"
  115.                 oncommand="ReloadPAC();"
  116.                 prefstring="pref.advanced.proxies.disable_button.reload"/>
  117.       </hbox>
  118.     </radiogroup>
  119.  
  120.   </groupbox>
  121. </dialog>
  122.  
  123.